package ch.areion.areionapp.sensor;
import ch.areion.areionapp.core.Disconnectable;

/**
 * 
 * @author IljasaRedzepi
 * @version 0.1
 */

public interface IUSSensor extends Disconnectable {
	
	/**
	 * this method returns the distance to the wall measured
	 * from USSF.
	 * @return returns the distance to the wall.
	 */
	public int getDistanceUSSF();
	
	/**
	 * This method measures n times the distance and returns the arithmetic average.
	 * @param msrCnt Number of measurs.
	 * @return The arithmetic average of the measures.
	 */
	public int getDistanceUSSF(int msrCnt);
	
	/**
	 * this method returns the distance to the wall measured
	 * from USSB.
	 * @return return the distance to the wall
	 */
	public int getDistanceUSSB();
	
	/**
	 * This method measures n times the distance and returns the arithmetic average.
	 * @param msrCnt Number of measurs.
	 * @return The arithmetic average of the measures.
	 */
	public int getDistanceUSSB(int msrCnt);
}
